package com.sangengblog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sangengblog.domain.ResponseResult;
import com.sangengblog.domain.entity.User;

/**
 * 用户表(User)表服务接口
 *
 * @author makejava
 * @since 2024-03-02 19:05:00
 */
public interface UserService extends IService<User> {
    ResponseResult userInfo();

    ResponseResult updateUserInfo(User user);

    ResponseResult register(User user);

    ResponseResult getAllUser(int pageNum, int pageSize, String userName, String phonenumber, String status);

    ResponseResult addUser(User user);

    ResponseResult deleteUser(Long id);

    ResponseResult getUser(Long id);

    ResponseResult updateUser(User user);
}
